Skip to content

Conversation

@Phoenix79-spec
Copy link
Contributor

Fixes #1095

let mut server = HttpServer::new(factory);
#[cfg_attr(
not(target_family = "unix"),
expect(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used expect instead of allow to make sure this is removed when no longer needed.

@Phoenix79-spec
Copy link
Contributor Author

If this wasn't detected in previous test workflows they may need an update so that they run cargo clippy on a windows image to catch issues with suppressed code blocks.

@Phoenix79-spec Phoenix79-spec marked this pull request as ready for review November 11, 2025 19:11
@lovasoa lovasoa merged commit f4dab9f into sqlpage:main Nov 12, 2025
11 checks passed
@lovasoa
Copy link
Collaborator

lovasoa commented Nov 12, 2025

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clippy Error redundant else block in src\webserver\http.rs

2 participants